<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>nth-child</title>
  <meta name="generator" content="editplus" />
  <meta name="author" content="" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <script src="../jquery-1.8.2.js"></script>
  <script>
$(document).ready(function() {
	console.log($("ul li:nth-child(odd)"));
});
  </script>
 </head>

 <body>
  <ul>
   <li>a</li>
   <li>b</li>
   <li>c</li>
  </ul>
  <ul>
   <li>d</li>
   <li>e</li>
   <li>f</li>
  </ul>
 </body>
</html>
